package com.salt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "taobao")
public class TaobaoConfig {
    /**
     * 淘宝开放平台网关地址
     */
    private String serverUrl;
    
    /**
     * 应用Key
     */
    private String appKey;
    
    /**
     * 应用密钥
     */
    private String appSecret;
    
    /**
     * 是否使用HTTPS
     */
    private boolean useHttps = true;

} 